package com.ss.android.constant;

/**
 * Created by fan on 2018/2/27.
 */

public class SearchConstant {
    public static final String BUNDLE_SEARCH_SOURCE = "search_source";
    public static final String BUNDLE_SEARCH_HINT = "search_hint";//搜索提示，feed顶部展示搜索框使用
    public static final String BUNDLE_SEARCH_PROFILE_HINT = "profile_search_hint";//搜索提示，profile使用
    public static final String BUNDLE_SEARCH_PAGE_FROM = "search_page_from";
    public static final String BUNDLE_SEARCH_CURRENT_TAB = "cur_tab";
    public static final String BUNDLE_SEARCH_MOTOR_ID = "motor_id";
    public static final String BUNDLE_SEARCH_MEDIA_ID = "media_id";
    public static final String BUNDLE_SEARCH_IMG = "img";
    public static final String BUNDLE_SEARCH_ADDITIONAL_PARAMS = "additional_params";
    public static final String BUNDLE_SEARCH_INPUT_MODE = "search_input_mode";
    public static final String BUNDLE_SEARCH_TRANS_PARAM = "trans_param";
    public static final String BUNDLE_SERIES_PREDICT = "series_predict";
    public static final String BUNDLE_SEARCH_RESULT_URL = "search_result_url";
    public static final String BUNDLE_SEARCH_FROM = "search_from"; // 懂车商城搜索框，透传给server
    public static final String BUNDLE_VIDEO_ENTRANCE = "video_entrance"; // 懂车商城搜索框，透传给server
    public static final String BUNDLE_TEMP_SCENE = "temp_scene"; // 告知server搜索的触发来自push详情页

    /** 首页搜索source */
    public static final String SOURCE_GLOBAL = "global";
    public static final String SOURCE_FEED = "feed";
    /** 选车source */
    public static final String SOURCE_CAR_SERIES = "car_series";
    /** 新能源车source */
    public static final String SOURCE_NEW_ENERGY = "new_energy";
    /** 车友圈主页source */
    public static final String SOURCE_CAR_FANS_MAIN = "car_fans_main";
    /** 文章详情页source */
    public static final String SOURCE_ARTICLE_DETAIL = "group_detail";
    /** 车系页 */
    public static final String SOURCE_CAR_CONCERN = "car_concern";
    /** 车友圈广场 */
    public static final String SOURCE_CAR_FANS_SQUARE = "car_fans_square";
    /** 车友圈主页搜全圈 */
    public static final String SOURCE_CAR_FANS_ALL = "car_fans_all";
    
    public static final String SOURCE_TRADE_SHOP = "trade_shop";
    
    /** 新能源车type */
    public static final String MOTOR_SEARCH_TYPE_NEW_ENERGY = "1";
    /**
     * 桌面快捷方式
     */
    public static final String SOURCE_SHORTCUT = "home_shortcut";

    // <editor-fold desc="search_page_from">
    public static final String FROM_PAGE_EXCLUSIVE = "from_page_exclusive";                     // 首页 - 独家片场
    public static final String FROM_PAGE_MOTOR_MALL = "from_page_motor_mall";                   // 商城 - 汽车商城
    public static final String FROM_PAGE_CATEGORY = "from_page_category";                       // 首页 - 推荐
    public static final String FROM_PAGE_HOME_NEW_ENERGY = "from_page_home_new_energy";         // 首页 - 新能源
    public static final String FROM_PAGE_CAR_ALL_NEW_ENERGY = "from_page_car_all_new_energy";   // 首页 - 车型大全 - 新能源
    public static final String FROM_PAGE_BRAND_LIST = "from_page_brand_list";                   // 选车 - 新车
    public static final String FROM_PAGE_NEW_DETAIL = "from_page_new_detail";                   // pgc文章详情页顶部入口
    public static final String FROM_PAGE_UGC_NEW_DETAIL = "from_page_ugc_new_detail";           // ugc文章详情页顶部入口
    public static final String FROM_PAGE_UGC_LONG_POST = "from_page_ugc_long_post";             // ugc长贴顶部入口
    public static final String FROM_PAGE_UGC_CAR_REVIEW = "from_page_ugc_car_review";           // ugc口碑/懂车分顶部入口
    public static final String FROM_PAGE_UGC_VIDEO = "from_page_ugc_video";
    public static final String FROM_PAGE_PGC_VIDEO = "from_page_pgc_video";
    public static final String FROM_PAGE_CMG_FOUND = "from_page_cmg_found";                     // 车友圈搜索入口
    public static final String FROM_PAGE_CAR_TALK_MAIN = "page_search_cmg_main";                // 车友圈首页新增入口
    public static final String FROM_PAGE_CMG_SQUARE = "page_search_cmg_square";                 // 车友圈广场入口
    public static final String FROM_PAGE_COMMUNITY = "page_search_community";                   // 车友圈主页入口
    public static final String FROM_PAGE_CAR_NEW_CAR = "page_search_car_new_car";               // 车系列表页入口
    public static final String FROM_PAGE_ATLAS_LIST = "page_search_atlas_list";                 // 车系图集页入口
    public static final String FROM_PAGE_CAR_STYLE = "page_search_car_style";                   // 车款页入口
    public static final String FROM_PAGE_PROFILE = "from_page_profile";                         // 个人页新增入口
    public static final String FROM_PAGE_CAR_MALL = "car_mall";                                 // 买车页面的来源
    public static final String FROM_PAGE_MOTO_SELECT = "motorcycle_series";                     // 摩托车选车tab
    public static final String FROM_PAGE_MOTO_TAB = "motorcycle_tab";
    public static final String FROM_PAGE_MOTO_SEARCH_SOURCE = "motorcycle";
    public static final String FROM_PAGE_INTEREST = "motor_interest";                           // 泛化搜索
    public static final String FROM_PAGE_SHORTCUT = "home_shortcut";                            // 桌面快捷方式
    public static final String FROM_PAGE_PROGRAM = "from_page_program";
    // </editor-fold>

    public static final String ENTER_FROM_DETAIL = "detail";
    public static final String EXTRA_HIDE_TIPS = "extra_hide_tips";
    public static final String SEARCH_TAB_COMMUNITY_ALL = "12"; // 圈内搜索 全部tab
    public static final String SEARCH_TAB_COMMUNITY_LIST = "19"; // 主搜车友圈tab
    public static final String SEARCH_TAB_BUY_CAR = "16"; // 重庆买车tab
    public static final String SEARCH_TAB_DCAR_MALL = "21"; // 懂车商城tab

    public static final String SEARCH_EVENT_CLICK_HISTORY_EXPAND = "search_history_expand";
    public static final String SEARCH_EVENT_CLICK_HISTORY_COLLAPSE = "search_history_collapse";
    public static final String SEARCH_EVENT_CLICK_FIND_EXPAND = "search_find_expand";
    public static final String SEARCH_EVENT_CLICK_FIND_COLLAPSE = "search_find_collapse";
    public static final String SEARCH_EVENT_CLICK_FIND_REFRESH = "search_find_change";
    public static final String SEARCH_EVENT_CLICK_DELETE_HISTORY = "clear_search_history";
    public static final String SEARCH_EVENT_CLICK_ALL_DELETE = "clear_search_history_all_button";
    public static final String SEARCH_EVENT_CLICK_DELETE_SINGLE_HISTORY = "clear_search_history_single";
    public static final String SEARCH_EVENT_CLICK_DELETE_DONE = "clear_search_history_single_end";
    public static final String SEARCH_EVENT_CLICK_CONFIRM_DELETE_ALL = "clear_search_history_all_popup";
    public static final String SEARCH_EVENT_SHOW_CONFIRM_DELETE_ALL = "clear_search_history_all_popup";
    public static final String SEARCH_PREDICT_WORD_HOT_RECOMMEND = "hot_recommend";
}